/*
 *	Perlin Production Co. Ltd. September 1993 (c).
 *			GRAB.H
 */
#ifndef _GRAB_H_
#define _GRAB_H_

#define	NPANELS		4
#define	VSIZE		0x100
#define	VIDEO_TOP	0xA000
#define	VRAMSIZ		0x4000
#define	PANEL_BIAS	0x2000
#define MAXBAR		1536
/* Operating modes: */
#define OM_MOVE		0
#define OM_ZOOM		1
#define OM_SHIFT	2

#define TROUBLE		(& wtrouble)
#define HELP		(&whelp)

#define	AS_BITMAP	1
#define	AS_PIXELS	2
#define AS_SPRITE	3
#define AS_WBITMAP	4	/* Word bitmap for stack access */

extern	char		_SETCOL;
extern	int		src,dst;
extern	char		*srcname,*dstname;
extern	unsigned	scrpos;
extern	char		scrcol[VSIZE];
extern	char		points[MAXBAR];
extern	char		*ptscnt;
extern 	int		p_enabled[4];
extern	int		evenHght;
extern	char		strbuf[0x100];	

extern int select_panels();

#endif /*_GRAB_H_*/